package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "test_report")
public class Report implements Serializable {

      @Id
      private ObjectId id;//报告id
      private Integer score;
      @Indexed
      private Long userId; //用户id

      //private Long similarId;//与你相似的id
      private Integer conclusionId;
       private Integer state;//0 没有测试过，1.表示测试过初级，2。中级  3高级



}
